﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SomethingSpacialClassLib.Web;
using SomethingSpacial.ViewModel;
using SomethingSpacial.Model;
using System.ServiceModel.DomainServices.Client;

namespace SomethingSpacial.UserControls
{
    public partial class CommentsListControl : UserControl
    {
        private SomethingSpacialContext domainContext = new SomethingSpacialContext();

        public CommentsListControl()
        {
            InitializeComponent();
            this.Loaded += new System.Windows.RoutedEventHandler(CommentsUserControl_Loaded);
        }


        private void CommentsUserControl_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
            int EventID = 1;
            WheelStoryboard.Begin();
            ((EventFeedbackViewModel)this.DataContext).loadEventFeedback(EventID);
        }

    }
}
